home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mntlib44.zoo
/
mntlib
/
labs.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-01
|
134b
|
14 lines
/* return absolute values */
#include <stdlib.h>
#ifdef labs
#undef labs
#endif
long
labs(x)
long x;
{
return x < 0 ? -x : x;
}